package com.own.business.system.user.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * SystemUserInfoQuery
 *
 * @author chenxueli
 * @date 2021/06/24 15:46:54
 */
@Schema(title = "系统用户基本信息" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class SystemUserInfoQuery extends BaseQuery {

    @Schema(title = "用户id")
    private Long userId;

    @Schema(title = "名称")
    private String name;

    @Schema(title = "手机号")
    private String phone;

    @Schema(title = "邮箱")
    private String email;

    @Schema(title = "性别 1=男 2=女 0=保密")
    private Integer gender;

    @Schema(title = "介绍")
    private String introduction;

    @Schema(title = "用户类型 1=普通用户 2=管理员")
    private Integer type;

}
